package com.ORM;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * BasMerCategory entity. @author MyEclipse Persistence Tools
 */

public class BasMerCategory implements java.io.Serializable {

	// Fields

	private Integer categoryId;
	private String categoryCode;
	private String categoryName;
	private String categoryNameEn;
	private Short isValid;
	private String remark;
	private Timestamp createdTime;
	private String createdByUser;
	private Timestamp updatedTime;
	private String updatedByUser;
	private Set reqMerchandiseInfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public BasMerCategory() {
	}

	/** minimal constructor */
	public BasMerCategory(Integer categoryId, Short isValid) {
		this.categoryId = categoryId;
		this.isValid = isValid;
	}

	/** full constructor */
	public BasMerCategory(Integer categoryId, String categoryCode,
			String categoryName, String categoryNameEn, Short isValid,
			String remark, Timestamp createdTime, String createdByUser,
			Timestamp updatedTime, String updatedByUser, Set reqMerchandiseInfos) {
		this.categoryId = categoryId;
		this.categoryCode = categoryCode;
		this.categoryName = categoryName;
		this.categoryNameEn = categoryNameEn;
		this.isValid = isValid;
		this.remark = remark;
		this.createdTime = createdTime;
		this.createdByUser = createdByUser;
		this.updatedTime = updatedTime;
		this.updatedByUser = updatedByUser;
		this.reqMerchandiseInfos = reqMerchandiseInfos;
	}

	// Property accessors

	public Integer getCategoryId() {
		return this.categoryId;
	}

	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryCode() {
		return this.categoryCode;
	}

	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}

	public String getCategoryName() {
		return this.categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getCategoryNameEn() {
		return this.categoryNameEn;
	}

	public void setCategoryNameEn(String categoryNameEn) {
		this.categoryNameEn = categoryNameEn;
	}

	public Short getIsValid() {
		return this.isValid;
	}

	public void setIsValid(Short isValid) {
		this.isValid = isValid;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Timestamp getCreatedTime() {
		return this.createdTime;
	}

	public void setCreatedTime(Timestamp createdTime) {
		this.createdTime = createdTime;
	}

	public String getCreatedByUser() {
		return this.createdByUser;
	}

	public void setCreatedByUser(String createdByUser) {
		this.createdByUser = createdByUser;
	}

	public Timestamp getUpdatedTime() {
		return this.updatedTime;
	}

	public void setUpdatedTime(Timestamp updatedTime) {
		this.updatedTime = updatedTime;
	}

	public String getUpdatedByUser() {
		return this.updatedByUser;
	}

	public void setUpdatedByUser(String updatedByUser) {
		this.updatedByUser = updatedByUser;
	}

	public Set getReqMerchandiseInfos() {
		return this.reqMerchandiseInfos;
	}

	public void setReqMerchandiseInfos(Set reqMerchandiseInfos) {
		this.reqMerchandiseInfos = reqMerchandiseInfos;
	}

}